xkbcommon-rs
xkbcommon-rs is a set of bindings and safe wrappers for libxkbcommon.
[]
= { = "0.2", = ["x11"] }
documentation
https://rtbo.github.io/xkbcommon-rs/xkbcommon
example
Living example here: https://github.com/rtbo/clue-rs/blob/master/src/platform/xcbplatform/xcbkeyboard.rs